using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ChuongTrinhDaoTaoService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: ChuongTrinhDaoTaoService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class ChuongTrinhDaoTaoService : IChuongTrinhDaoTaoService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ChuongTrinhDaoTao_ID</para>
		/// <para>Output: ChuongTrinhDaoTaoEntity</para>
		///</summary>
		public ChuongTrinhDaoTaoEntity SelectOne(int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.SelectOne(ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMaCTDaoTao</para>
		/// <para>Input: MaCTDaoTao</para>
		/// <para>Output: ChuongTrinhDaoTaoEntity</para>
		///</summary>
		public ChuongTrinhDaoTaoEntity SelectOneByMaCTDaoTao(string MaCTDaoTao){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.SelectOneByMaCTDaoTao(MaCTDaoTao);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMacDinh</para>
		/// <para>Input: MacDinh</para>
		/// <para>Output: ChuongTrinhDaoTaoEntity</para>
		///</summary>
		public ChuongTrinhDaoTaoEntity SelectOneByMacDinh(bool MacDinh){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.SelectOneByMacDinh(MacDinh);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChuongTrinhDaoTaoEntity</para>
		///</summary>
		public List<ChuongTrinhDaoTaoEntity> SelectAll(){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ChuongTrinhDaoTaoEntity</para>
		///</summary>
		public List<ChuongTrinhDaoTaoEntity> SelectAllFilter(string strFilter){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(ChuongTrinhDaoTaoEntity o){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: ChuongTrinhDaoTaoEntity</para>
		///</summary>
		public ChuongTrinhDaoTaoEntity SaveRet(ChuongTrinhDaoTaoEntity o){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<ChuongTrinhDaoTaoEntity> list){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: List of ChuongTrinhDaoTaoEntity</para>
		///</summary>
		public List<ChuongTrinhDaoTaoEntity> SaveListRet(List<ChuongTrinhDaoTaoEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(ChuongTrinhDaoTaoEntity o){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<ChuongTrinhDaoTaoEntity> list){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaCTDaoTao</para>
		/// <para>Input: NewMaCTDaoTao,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMaCTDaoTao(string NewMaCTDaoTao,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateMaCTDaoTao(NewMaCTDaoTao,ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateTenCTDaoTao</para>
		/// <para>Input: NewTenCTDaoTao,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTenCTDaoTao(string NewTenCTDaoTao,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateTenCTDaoTao(NewTenCTDaoTao,ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNgayTao</para>
		/// <para>Input: NewNgayTao,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNgayTao(DateTime NewNgayTao,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateNgayTao(NewNgayTao,ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateGhiChu</para>
		/// <para>Input: NewGhiChu,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateGhiChu(string NewGhiChu,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateGhiChu(NewGhiChu,ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNganhHoc_ID</para>
		/// <para>Input: NewNganhHoc_ID,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNganhHoc_ID(int NewNganhHoc_ID,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateNganhHoc_ID(NewNganhHoc_ID,ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLoaiHocPhi</para>
		/// <para>Input: NewLoaiHocPhi,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLoaiHocPhi(Byte NewLoaiHocPhi,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateLoaiHocPhi(NewLoaiHocPhi,ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateChoPhepDangKy</para>
		/// <para>Input: NewChoPhepDangKy,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateChoPhepDangKy(bool NewChoPhepDangKy,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateChoPhepDangKy(NewChoPhepDangKy,ChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMacDinh</para>
		/// <para>Input: NewMacDinh,ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMacDinh(bool NewMacDinh,int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.UpdateMacDinh(NewMacDinh,ChuongTrinhDaoTao_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(ChuongTrinhDaoTaoEntity o){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int ChuongTrinhDaoTao_ID){
			ChuongTrinhDaoTaoDAO dao = new ChuongTrinhDaoTaoDAO();
			return dao.DeleteByID(ChuongTrinhDaoTao_ID);
		}
		#endregion

		#region Select join to NganhHoc functions
		#endregion

		#region Select,delete by ChuongTrinhDaoTao_ID functions
		#endregion

		#region Select,delete by NganhHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ChuongTrinhDaoTaoWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

